package com.dong.vdbtc.typeconversion.conversion;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * description
 *
 * @author Administrator 2021/09/08 14:55
 */
public class ConversionTest {

    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext(MyService.class,AppConfig.class);

        MyService myService = context.getBean(MyService.class);
        myService.doConversion();
    }
}
